home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / 3dedb09.zip / MAN.DOC < prev    next >
Text File  |  1993-05-21  |  40KB  |  1,057 lines

  1.  
  2.  
  3.                                                                           
  4.  
  5.  
  6.       
  7.       
  8.       
  9.                               3DEDIT 
  10.                           BETA-VERSION 0.9
  11.                   
  12.       
  13.                   IF YOU HAVE ANY QUESTIONS,SUGGESTIONS,CRITISM OR
  14.                   SOMETHING ELSE YOU MIGHT WANT TO SAY ABOUT
  15.                   3DEDIT, YOU MAY REACH US AT
  16.       
  17.                   INTERNET: ERIK-TAM@SATURN.DSV.SU.SE
  18.                   
  19.                   MAIL:   HUMAN SOFTWARE BRÖTV.42 161 39 BROMMA
  20.                           SWEDEN
  21.                   
  22.                   PLEASE LET US NOW YOUR OPINION.
  23.       
  24.                   A REAL MANUAL WILL BE RELEASED WITH THE NON-BETA
  25.                   VERSION.  THIS DOCUMENT IS REWRITTEN AND
  26.                   ENLARGED ALL OF THE TIME CONTACT US FOR THE
  27.                   LATEST VERSION.
  28.                   THE 3DLIBRARY IS NOW READY TO RUN.  WRITE EMAIL FOR
  29.                   FURTHER INFORMATION.
  30.       
  31.       
  32.       
  33.       
  34.       
  35.       
  36.       
  37.       
  38.       
  39.       
  40.       
  41.       
  42.       
  43.       
  44.       
  45.       
  46.       
  47.       
  48.       
  49.       
  50.       
  51.       
  52.       
  53.       
  54.       
  55.       
  56.       
  57.       
  58.       
  59.       
  60.       
  61.       
  62.  
  63.  
  64.                                       -1-                                 
  65.  
  66.  
  67.  
  68.  
  69.                                                                           
  70.  
  71.  
  72.       
  73.       
  74.       
  75.       
  76.       
  77.                               CONTENTS
  78.       
  79.       
  80.               1.BEFORE YOU START.  .  .  .  .  .  .   .   3
  81.               A. What do I need?.  .  .  .  .  .  .   .   3
  82.               B. What is 3dedit?.  .  .  .  .  .  .   .   3
  83.               
  84.               2.3D-GRAPHICS A SHORT INTRODUCTION  .   .   3  
  85.               A.What is an object made of .   .   .   .   3
  86.               B.Points    .   .   .   .   .   .   .   .   3
  87.               C.Polygons  .   .   .   .   .   .   .   .   3
  88.               D.Hidden faces  .   .   .   .   .   .   .   4
  89.               E.Depth Sortint .   .   .   .   .   .   .   4
  90.               F.What do I read to learn more? .   .   .   4
  91.               
  92.               3.VIEWING THE BOAT A SMALL INTRODUCTION .   5
  93.               A.Starting 3dedit and loading the boat  .   5
  94.               B.The screen    .   .   .   .   .   .   .   5
  95.               B.The buttons   .   .   .   .   .   .   .   5
  96.               C.Moving the boat   .   .   .   .   .   .   5
  97.               D.Rotating the boat .   .   .   .   .   .   6
  98.               E.Leaving 3DEDIT    .   .   .   .   .   .   6
  99.        
  100.               3.CREATING A BOX-A QUICK START  .   .   .   6
  101.               A.Starting 3dedit   .   .   .   .   .   .   6
  102.               B.Show points   .   .   .   .   .   .   .   6
  103.               C.The first point   .   .   .   .   .   .   6
  104.               D.Moving the point  .   .   .   .   .   .   7
  105.               E.Creating a new point  .   .   .   .   .   7
  106.               F.To change an AS to another point  .   .   7
  107.               G.To create a polygon   .   .   .   .   .   7
  108.               h.Changing the view .   .   .   .   .   .   8
  109.               i.The backside of the box   .   .   .   .   8
  110.               j.Creating the rest of the cube .   .   .   9
  111.               
  112.               5.CREATING AN OBJECT    .   .   .   .   .   9
  113.               A.Creating points   .   .   .   .   .   .   9
  114.               B.Moving points .   .   .   .   .   .   .   9
  115.               C.Selecting points  .   .   .   .   .   .   9
  116.               D.Destroying points .   .   .   .   .   .   9
  117.               E.Viewing all points    .   .   .   .   .  10
  118.               F.Creating a polygon    .   .   .   .   .  10
  119.               G.Selecting a color .   .   .   .   .   .  10
  120.               H.Selecting a shape .   .   .   .   .   .  10
  121.               I.No backface - Clockwise order .   .   .  11
  122.               J.Back-face polygons    .   .   .   .   .  11
  123.               K.Destroying a polygon  .   .   .   .   .  11
  124.               
  125.               6.THE PANEL, THE BUTTONS AND THE KEYS   .  12
  126.               7.LEGAL STUFF   .   .   .   .   .   .   .  15
  127.       
  128.  
  129.  
  130.                                       -2-                                 
  131.  
  132.  
  133.  
  134.  
  135.                                                                           
  136.  
  137.  
  138.       
  139.       
  140.       
  141.       
  142.                          -BEFORE YOU START-
  143.                           
  144.       
  145.                           WHAT DO I NEED?
  146.       
  147.       You need an 100% IBM-compatiable PC with a 286 processor or
  148.       higher with VGA-card and a mouse.  Note that the VGA-card
  149.       must be truly register compatible with the orginal VGA-card
  150.       from IBM.
  151.       
  152.                           WHAT IS 3DEDIT?
  153.       
  154.       3dedit is an application designed to make 3ddesign easy and
  155.       smooth.  3dedit uses polygon-based graphics, which means
  156.       that each object is made of colorfilled polygons.  You've
  157.       probably seen it in flight simulators etc.  3dedit is a part
  158.       of the polyworld package, which is a C-library together with
  159.       tools, made to make true 3d-graphics available to the
  160.       C-programmer.  A Turbo Pascal version may appear later.
  161.       3dedit creates and saves objects in a format that G3DLIB can
  162.       use.  Create your own F15, Driving game etc.
  163.       
  164.       
  165.                       3D-GRAPHICS A SHORT INTRODUCTION
  166.       
  167.       If you have some knowledge about 3d-graphics, you might skip
  168.       this part.  3D graphics is in short, to manipulate a model
  169.       of a 3dimensional object, or group of objects, and view it
  170.       on a 2dimensional screen.  At least, thats whats we are
  171.       concerned with.  In this context we will call an model of an
  172.       3d-object just 'OBJECT'.
  173.       
  174.       
  175.                           WHAT IS AN OBJECT MADE OF
  176.       
  177.       An object in 3dedit is defined by points and polygons.  Each
  178.       polygon is defined by a number of points in the object.
  179.       This is easier than it sounds, you just have to look at a
  180.       regular flight simulator to know what I mean.  For an
  181.       example, a box is defined by its eigth corners(the points)
  182.       and its six sides(the polygons).
  183.       
  184.                           POINTS
  185.       
  186.       A point is located in the 3dspace by its coordinates along
  187.       the three axis, X-Y-Z.  The Z-axis is the axis thats goes
  188.       'into' the screen.  In 3dedit, you never have to be concerd
  189.       with the actual coordinates of a point.
  190.       
  191.                           POLYGONS
  192.       
  193.       The polygons are defined by points.  In 3dedit you use 2
  194.  
  195.  
  196.                                       -3-                                 
  197.  
  198.  
  199.  
  200.  
  201.                                                                           
  202.  
  203.  
  204.       types of polyons, triangles and quadron(with 4 corners).  A
  205.       face of an object can be made up of many polygons.
  206.       
  207.                                      
  208.                           HIDDEN FACES
  209.       
  210.       When you view an 3demonsional object, all faces are never
  211.       seen at the same time.  If you take an box, you can at most
  212.       see three faces of it at one time.  This is quite important
  213.       in 3d-graphics, because the computer has to know when to
  214.       show a face or not.  3dedit uses a techinque called backface
  215.       culling to evaluate which polygons to show and which to
  216.       hide.  To let 3dedit know this, certain steps must be taken
  217.       when you create an polygon.
  218.       
  219.       
  220.                           DEPTH SORTING
  221.       
  222.       Since the polygons in an object often overlap each other
  223.       when the object is displayed, the polygons have to be sorted
  224.       in order according to the distance from the viewer, before
  225.       they are drawn.  After that, they are drawn in reverse
  226.       order, beginning with the ones that's most far from the
  227.       viewer.  This is called the painters algoritm.  The trouble
  228.       is that you must choose a point to use as the basis of the
  229.       sorting.  In 3d3dit you have 3 different sort-modes that you
  230.       have to decide which to use for each polygon.  This may
  231.       sound a bit co